/**
 * 
 */
package com.jm.web.tags.form;

import com.jm.web.builder.form.CalendarBuilder;
import com.jm.web.tags.support.ValidateTag;

/**
 * @author yanjie
 *
 * 2011/10/6 下午4:18:52
 */
public class CalendarTag extends ValidateTag{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1264325338351874582L;
	
	@Override
	protected int onStartTag() {
		if(this.getPage().isExport() && !this.isEp()){
			return SKIP_BODY;
		}
		return SKIP_BODY;
	}
	
	public void setCalConfig(String strValue){
		this.SetExtValue("calConfig", strValue);
	}
	
	@Override
	public String getBuilderName() {
		return CalendarBuilder.class.getName();
	}
}
